name := "streams"

version := "1.0"

scalaVersion := "2.12.2"

libraryDependencies ++= {
  val akkaVersion = "2.4.17"
  val akkaHttpVersion = "10.0.6"
  Seq(
    "com.typesafe.akka"          %% "akka-actor"                       % akkaVersion withSources(),
    "com.typesafe.akka"          %%  "akka-slf4j"                      % akkaVersion,
    "com.typesafe.akka"          %% "akka-stream"                      % akkaVersion withSources(),
    "com.typesafe.akka"          %% "akka-http-core"                   % akkaHttpVersion withSources(),
    "com.typesafe.akka"          %% "akka-http"                        % akkaHttpVersion withSources(),
    "com.typesafe.akka"          %% "akka-http-spray-json"             % akkaHttpVersion withSources(),
    "com.typesafe.akka"          %% "akka-testkit"                     % akkaVersion                    % "test" withSources(),
    "com.typesafe.akka"          %% "akka-multi-node-testkit"          % akkaVersion                    % "test" withSources(),

    "org.scalatest"              %% "scalatest"                        % "3.0.0"                        % "test",

    "com.typesafe.scala-logging" %% "scala-logging"                    % "3.5.0",
    "org.apache.logging.log4j"    % "log4j-api"                        % "2.6.1",
    "org.apache.logging.log4j"    % "log4j-core"                       % "2.6.1",
    "org.apache.logging.log4j"    % "log4j-slf4j-impl"                 % "2.6.1"

  )
}

// Assembly settings
mainClass in Global := Some("com.galudisu.Main")
